‫Welcome back.
‫This is the extra faith saw in the last election.
‫This election, after we wrote this EPA awesome EPA of ours, we were able to access the data using
‫Postman when we supplied an EPA kikhia that this authorization was able to send and get back the data.
‫But when we removed it, we are not able to get the data.
‫And then the other thing that we are supposed to look at in this one is to make sure that this one retains
‫something that is called something that is consumable.
‫Because when you send this data to our mobile, to an endpoint which is consuming this EPA, maybe a
‫mobile app or probably an application made with Regard View or Andula or any other front end application
‫is not going to know what is ERP or whatever or whatever is not going to know is this is not true.
‫So you need to supply the key in the value format of an API.
‫So in this one I'm going to be showing you exactly that in how we are going to do.
‫First of all, let me let me make this API able to work without that a lot, without talking in how
‫we do in ERP next.
‫Is that in the front door to at least function?
‫What do we need to do to convert this into a public or open API?
‫You just tell it to allow guests and you set it to through.
‫It is as simple as that.
‫Europeanised so allow guest equals true.
‫So now when I come to this application unsent, I am going to get my data back.
‫You see, I do not have an authorization.
‫I do not need it there.
‫And now I can send and get my data back even without it.
‫So this is the only thing that we need to do in the front with this function.
‫Allow guest said it to through.
‫Now, the next thing that we need to just look at this.
‫Look, look, look at what we are getting.
‫Yarragadee, the response we are getting here, the response is not good.
‫It is it is not something you can send to the front end developer and tell them that you are finished
‫to Iraq.
‫You API is working.
‫They are not going to be able to consume this.
‫So what you need to do is only you could come to the end of your you are query and then this one you
‫are going to write as dict.
‫This is dictionary and set it to through again.
‫So you are going to tell Frappé that I want to return whatever you want to get here as a dictionary.
‫And when you say that and you go back to this one and send it now you see what you are getting is a
‫message that is an array of on of an object.
‫So if you have more than one items within here, what you going to be getting here now is an array of
‫objects.
‫But because we have only one item, we have only one object inside of our array.
‫And when you send this to our front end developer, the able to know what is this is a name.
‫They know that it was notified by the administrator.
‫It is owned by the administrator.
‫This is the naming series.
‫The item name in all these other details are here so they can take it again.
‫The other thing that I want to show you before I end this letter is how to to take only what you need
‫from your API.
‫So from here I can say I need the name so I can come back to my API.
‫And instead of selecting all I can just say I want the name and then I want to let me go back to Postman.
‫What else do I need here?
‫Remember, you're going to be getting the things that you mean you will be needing.
‫So I also need that the item name and go back to postwoman.
‫Everything I need here maybe is the item description.
‫This may be needed maybe for a mobile app and that continues.
‫You are going to put everything that you need here and now when you come to your postman and send this,
‫you are only going to get a message with the items, only the items that you have selected in your query.
‫So that is how you do it.
‫So to for you to make any API public or open Europeanised in the way things function, supply or the
‫waitress, the CORITA supply allow guests and put it to through and then for you to get this thing as
‫a dictionary.
‫And so it is consumable by front end applications.
‫In your query supply, the US additionally equals two.
‫So thank you so much and see you in the sixth next char.